﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto.product
{
    [AutoMapBoth(typeof(ProductOption))]
    [ProtoContract]
    public class ProductOptionDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public int shopid { get; set; }

        [ProtoMember(3)]
        public int product_id { get; set; }

        [ProtoMember(4)]
        public String title { get; set; }

        [ProtoMember(5)]
        public String thumb { get; set; }

        [ProtoMember(6)]
        public Decimal sell_price { get; set; }

        [ProtoMember(7)]
        public Decimal marketprice { get; set; }

        [ProtoMember(8)]
        public Decimal costprice { get; set; }

        [ProtoMember(9)]
        public int stock { get; set; }

        [ProtoMember(10)]
        public Decimal weight { get; set; }

        [ProtoMember(11)]
        public Decimal hongbao { get; set; }

        [ProtoMember(12)]
        public Decimal score { get; set; }

        [ProtoMember(13)]
        public int displayorder { get; set; }

        [ProtoMember(14)]
        public String specs { get; set; }

        [ProtoMember(15)]
        public String skuId { get; set; }

        [ProtoMember(16)]
        public String goodssn { get; set; }

        [ProtoMember(17)]
        public String productsn { get; set; }

        [ProtoMember(18)]
        public int virtuals { get; set; }
    }
}
